package com.ziyun.pop.common.e.production;


import com.ziyun.pop.common.e.BaseEnum;

/**
 * 生产商类型
 * @author gaosheng
 * @date 2018-09-25 17:26
 */
public enum ProducerTypeEnum implements BaseEnum {

    ZIYUN_SUPPLIER(1, "紫云外协商"),
    SELF_MERCHANT (2, "自营门店"),
    NON_SELF_MERCHANT(3, "小B"),
    QUOTE_FACTORY(4, "报价工厂"),
    TWB_SUPPLIER(5,"图文宝外协商"),
    ;

    private int id;
    private String describe;

    ProducerTypeEnum(int id, String describe){
        this.id = id;
        this.describe = describe;
    }

    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
